package com.antball.aaa.factory_strategy;

/**
 * @Auther: huangsj
 * @Date: 2019/8/7 14:25
 * @Description:
 */
public class DeductionContext {

    private IDeduction deduction;

    public DeductionContext(IDeduction deduction){
        this.deduction=deduction;
    }

    public boolean exec(){
        return deduction.exec();
    }
}
